# frozen_string_literal: true

class SetDefaultOnVulnerabilityFindingsDetectedAt < Gitlab::Database::Migration[2.3]
  milestone '18.7'

  def change
    change_column_default :vulnerability_occurrences, :detected_at, from: nil, to: -> { 'NOW()' }
  end
end
